package com.lucher.mes.dao;

import java.util.List;

import com.lucher.mes.po.Workmachine;

public interface WorkmachineMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Workmachine record);

    int insertSelective(Workmachine record);

    Workmachine selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Workmachine record);

    int updateByPrimaryKey(Workmachine record);
    
    //自定义接口
    List<Workmachine> findByList(Workmachine record);
    List<Workmachine> findByListForPage(Workmachine record);
    int findByCount(Workmachine record);
	Workmachine findByCode(String code);
}